#pragma once
#include "stdafx.h"
#include "BlackScholesModel.h"
#include "PathIndependentOption.h"
#include "testing.h"

class PutOption : public PathIndependentOption {
public:
    PutOption();
    double strike;
    double maturity;

    double payoff(double stockAtMaturity) const;

    double price(const BlackScholesModel& bsm)
        const;

    double getMaturity() const;
};

void testPutOption();